package com.omar.labs.tamtamy.XML;

import java.util.ArrayList;

import com.omar.labs.tamtamy.UserStatsGeneration;
import com.omar.labs.tamtamy.utils.XMLUtility;

public class XMLUserStatsGeneration extends UserStatsGeneration {

	public XMLUserStatsGeneration(String xml) {
		super();
		this.id = Long.parseLong(XMLUtility.getNodeValue(xml, "id"));
        this.generated = XMLUtility.getNodeValueWithAttribute(xml, "generated", "class=\"sql-timestamp\"");        	
	}
	
}
